home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
program
/
561
/
prolog
/
read1st.doc
< prev
next >
Wrap
Text File
|
1991-09-13
|
1KB
|
29 lines
I have been looking for a version of Prolog for the ST ever
since I took an introductory course in Prolog in the fall of
1990. We used Borland's Turbo Prolog in the class and it ran
acceptably under PC Ditto on my ST but I wanted a ST specific
version. I finally found this ST version on a CN Gold PD disk.
Don't let the title TOY Prolog fool you as it did me (I was
expecting to see a version of Micro-prolog). This is a full
version of the Prolog language which conforms closely to the
version used in Clocksin and Mellish's book: Programming In
Prolog. The program comes from Germany originally and the
included Docs are in German (waiting for an English translation;
anyone out there want to volunteer?). Some of the sample programs
are in English however so you can pick up some info. TOY Prolog
includes some ST specific predicates and allows access to the VDI
functions.
To use the program you first write your Prolog program on
your favorite editor and then after starting the TOY Prolog
program, type: consult(your_filename). Don't forget the period.
You may now query your program. To exit the interpreter type:
stop.
Refer to the file PROL_TOY.DOC for some more introductory
info. When I find some time, I'll try to post some example
programs for beginning Prolog programmers.
Dave Raftery (DRAFTERY)
12 September 1991
ə